<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="ChequesTerceirosViewDlg" widgetVar="ChequesTerceirosViewDialog" modal="true" resizable="false" appendTo="@(body)" header="#{bundle.ViewChequesTerceirosTitle}">
            <h:form id="ChequesTerceirosViewForm">
                <h:panelGroup id="display">
                    <p:panelGrid columns="2" rendered="#{chequesTerceirosController.selected != null}">
                        <h:outputText value="#{bundle.ViewChequesTerceirosLabel_id}"/>
                        <h:outputText value="#{chequesTerceirosController.selected.id}" title="#{bundle.ViewChequesTerceirosTitle_id}"/>
                        <h:outputText value="#{bundle.ViewChequesTerceirosLabel_dataModificacao}"/>
                        <h:outputText value="#{chequesTerceirosController.selected.dataModificacao}" title="#{bundle.ViewChequesTerceirosTitle_dataModificacao}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                        <h:outputText value="#{bundle.ViewChequesTerceirosLabel_despesa}"/>
                        <p:selectBooleanCheckbox value="#{chequesTerceirosController.selected.despesa}" disabled="true"/>
                        <h:outputText value="#{bundle.ViewChequesTerceirosLabel_tipoTroco}"/>
                        <h:outputText value="#{chequesTerceirosController.selected.tipoTroco}" title="#{bundle.ViewChequesTerceirosTitle_tipoTroco}"/>
                        <h:outputText value="#{bundle.ViewChequesTerceirosLabel_valorTroco}"/>
                        <h:outputText value="#{chequesTerceirosController.selected.valorTroco}" title="#{bundle.ViewChequesTerceirosTitle_valorTroco}"/>
                        <h:outputText value="#{bundle.ViewChequesTerceirosLabel_dataTroco}"/>
                        <h:outputText value="#{chequesTerceirosController.selected.dataTroco}" title="#{bundle.ViewChequesTerceirosTitle_dataTroco}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                        <h:outputText value="#{bundle.ViewChequesTerceirosLabel_observacaoTroco}"/>
                        <h:outputText value="#{chequesTerceirosController.selected.observacaoTroco}" title="#{bundle.ViewChequesTerceirosTitle_observacaoTroco}"/>
                        <h:outputText value="#{bundle.ViewChequesTerceirosLabel_fornecedor}"/>
                        <h:outputText value="#{chequesTerceirosController.selected.fornecedor.toString()}" title="#{bundle.ViewChequesTerceirosTitle_fornecedor}"/>
                        <h:outputText value="#{bundle.ViewChequesTerceirosLabel_cheque}"/>
                        <h:outputText value="#{chequesTerceirosController.selected.cheque}" title="#{bundle.ViewChequesTerceirosTitle_cheque}"/>
                    </p:panelGrid>
                    <p:commandButton value="#{bundle.Close}" onclick="ChequesTerceirosViewDialog.hide()"/>
                </h:panelGroup>
            </h:form>
        </p:dialog>

    </ui:composition>
</html>
